//
//  FPMainWebController.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/13.
//

#import "FPBaseViewController.h"
#import "FPProtocolModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,XYProtocolType) {
    
    XYProtocolTypeCU,   //!< 联通协议
    XYProtocolTypeCT,   //!< 电信协议
    XYProtocolTypeCM,   //!< 移动协议
};

/*
 FPProtocolTypeListController, //!< 我的->查看协议 返回的列表
 FPProtocolTypeLogin, //!< 登录
 FPProtocolTypeBankCard, //!< 银行卡
 FPProtocolTypeLoan, //!< 借款
 FPProtocolTypeAuthentic, //!< 实名认证
 FPProtocolTypeConfirmContract, //!< 确认借款页面
 FPProtocolTypeCleanAccount, //!< 注销
 */

@interface FPMainWebController : FPBaseViewController

@property (nonatomic , strong) NSString *urlString; //!< 部分类型必须把URL通过这个属性传过来

@property (nonatomic , strong) FPProtocolModel *model; //!< 协议的model类

@property (nonatomic , assign) BOOL userPanGestureInvalid; //!< 这个值为YES时 关闭webview的右滑返回手势

@property (nonatomic , assign) FPProtocolType protocolType; //!< 协议类型

@property (nonatomic , strong) NSString *companyName;
@property (nonatomic , strong) NSString *cooperateName;


@end

NS_ASSUME_NONNULL_END
